package com.sqx.modules.recovery.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sqx.modules.recovery.entity.GoodsRecovery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
* @author Admin
* @description 针对表【goods_recovery(二手物品回收估价表)】的数据库操作Mapper
* @createDate 2024-06-28 10:50:20
* @Entity generator.domain.GoodsRecovery
*/
@Mapper
public interface GoodsRecoveryDao extends BaseMapper<GoodsRecovery> {

    List<GoodsRecovery> selectListByBrandId(@Param("name") String name,
                                            @Param("brandId")Long brandId);

    List<GoodsRecovery> getGoodsRecoveryList(@Param("params") Map<String, Object> params);

    List<GoodsRecovery> getGoodsRecoveryListByBrandId(@Param("params") Map<String, Object> params);

    List<GoodsRecovery> selectRecoveryByBrandId(Long brandId);
}




